<!-- inc:inc.head -->
<!-- inc:inc.bigad -->

<?php
require_once("global.php");
$id = 16; 
$rs = $DB->qgGetOne("SELECT id,subject,content FROM ".$prefix."special WHERE language='".LANGUAGE_ID."' AND id='".$id."' AND ifcheck='1'");
if(!$rs)
{
	qgheader("home.php");
}
$subject = $rs["subject"];
$content = $rs["content"];
$sitetitle = $subject." - ".$system["sitename"];
if($rs["url"])
{
	$content = "<a href='".$rs["url"]."' target='_blank'>".$rs["url"]."</a>";
	$content .= "<script type='text/javascript'>window.open('".$rs["url"]."');</script>";
}
$pageid = $pageid ? intval($pageid) : 0;
$qg_array = ContentPageArray($content,"special.php?id=".$id,$pageid);
$content = $qg_array[0];
$pagelist = $qg_array[1];

?>

<div id="bd">
    <div id="toolbar" class="clearfix">
    	<div id="md_sitemap">
    	    <a href="home.php">TOP</a>>
    	    <a href="#">利用規約</a>
    	</div>
        <!-- inc:inc.search -->
    </div>
    
    <div id="md_brand" class="msgpage">
        <h3 class="title">{:$subject}</h3>
        <div class="ct resetDF">{:$content}</div>
        <div class="pager">
            <!-- $pagelist AS $key=>$value -->
				<!-- if($value[status]) -->
				<span class="m"><strong>{:$value[name]}</strong></span>
				<!-- else -->
				<span class="n"><a href="{:$value[url]}">{:$value[name]}</a></span>
				<!-- end -->
			<!-- end -->
       </div>
    </div>
</div>
<!-- inc:inc.foot -->



